// 订单信息表头
export const orderTableColumn = [
  {
    label: '序号',
    type: 'index',
    align: 'center',
    width: 80
  },
  {
    label: '生产厂家',
    prop: 'factoryName',
    align: 'center',
    width: 150
  },
  {
    label: '产品编码',
    prop: 'itemCode',
    align: 'center',
    minWidth: 200,
    'show-overflow-tooltip': true
  },
  {
    label: '产品名称',
    prop: 'itemName',
    align: 'center',
    minWidth: 200
  },
  {
    label: '规格',
    prop: 'itemStandard',
    align: 'center',
    minWidth: 200
  },
  {
    label: '型号',
    prop: 'itemModel',
    align: 'center',
    minWidth: 200
  },
  {
    label: '采购数量',
    prop: 'itemNums',
    align: 'center',
    minWidth: 200
  },
  {
    label: '采购单位',
    prop: 'itemUnit',
    align: 'center',
    minWidth: 200
  },
  {
    label: '转换关系',
    prop: 'transforRelationFormat',
    align: 'center',
    minWidth: 200
  },
  {
    label: '转换数量',
    prop: 'transforNum',
    align: 'center',
    minWidth: 200
  },
  {
    label: '单价（元）',
    prop: 'itemPrice',
    align: 'center',
    minWidth: 200
  },
  {
    label: '小计金额（元）',
    prop: 'itemAmount',
    align: 'center',
    minWidth: 200
  },
  {
    label: '已发货数量',
    prop: 'deliveredNums',
    align: 'center',
    minWidth: 200,
    formatter: row => {
      return row.deliveredNums + row.transforAfterUnit
    }
  },
  {
    label: '待发货数量',
    prop: 'unDeliveredNums',
    align: 'center',
    minWidth: 200,
    formatter: row => {
      return row.unDeliveredNums + row.transforAfterUnit
    }
  },
  {
    label: '医院明细行号',
    prop: 'hospitalItemCode',
    align: 'center',
    minWidth: 200
  },
  {
    label: '国科明细行号',
    prop: 'ebsOrderItemCode',
    align: 'center',
    minWidth: 200
  },
  {
    label: '注册证号/备案证号',
    prop: 'registCode',
    align: 'center',
    minWidth: 200
  },
  {
    label: '备注',
    prop: 'remark',
    align: 'center',
    minWidth: 200
  }
]
// 发货信息表头
export const deliverTableColumn = [
  {
    label: '序号',
    prop: 'orderNumber',
    align: 'center',
    width: 80
  },
  {
    label: '生产厂家',
    prop: 'factoryName',
    align: 'center',
    width: 150
  },
  {
    prop: 'itemCode',
    label: '产品编码',
    align: 'center',
    minWidth: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'itemName',
    label: '产品名称',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'itemStandard',
    label: '规格',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'itemModel',
    label: '型号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'itemNums',
    label: '采购数量',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'itemUnit',
    label: '采购单位',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'transforRelationFormat',
    label: '转换关系',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'transforNum',
    label: '转换数量',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'itemPrice',
    label: '单价（元）',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'deliveredNums',
    label: '已发货数量',
    align: 'center',
    minWidth: 200,
    formatter: row => {
      return row.deliveredNums + row.transforAfterUnit
    }
  },
  {
    prop: 'unDeliveredNums',
    label: '待发货数量',
    align: 'center',
    minWidth: 200,
    formatter: row => {
      return row.unDeliveredNums + row.transforAfterUnit
    }
  },
  {
    prop: 'batchNo',
    label: '发货批次号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'curDeliverdNums',
    label: '本次发货数量',
    align: 'center',
    minWidth: 200,
    formatter: row => {
      return row.curDeliverdNums + row.transforAfterUnit
    }
  },
  {
    prop: 'productionDate',
    label: '生产日期',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'validityDate',
    label: '失效日期',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'serialNumber',
    label: '序列号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'udi',
    label: 'UDI',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'registCode',
    label: '注册证号/备案证号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'hospitalOrderItemCode',
    label: '医院明细行号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'ebsOrderItemCode',
    label: '国科明细行号',
    align: 'center',
    minWidth: 200
  },
  {
    prop: 'remark',
    label: '备注',
    align: 'center',
    minWidth: 200
  }
]
